

import '../base/base_bean.dart';

class RequestBean<T extends BaseBean>{

  int code;

  String msg;

  T data;

  RequestBean.success(this.code,this.data,{this.msg});

  RequestBean.error(this.code,this.msg,{this.data});

  @override
  String toString() {
    return 'RequestBean{code: $code, msg: $msg, data: $data}';
  }


}